package com.ywqf_api.dao;

import com.ywqf_api.entity.House;
import com.ywqf_api.entity.ParkingData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/4/8 0008.
 */
public interface BoundHouseDao {

    House findIsNull(@Param("communityId")Integer communityId,@Param("houseNum")String houseNum,@Param("ownerName")String ownerName,@Param("ownerTel")String ownerTel);

    int updateCustomerHouseId(@Param("houseId")Integer houseId,@Param("customerId")Integer customerId);

    int updateCustomer(@Param("customerId")Integer customerId,@Param("url")String url,@Param("name")String name,@Param("gender")Integer gender);

    List<ParkingData> findHouseCars(@Param("houseId")Integer houseId);

}
